﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Framework.Core
{
    /// <summary>
    /// 角色
    /// </summary>
    [DataContract]
    [Serializable]
    public class RoleInfo:BaseEntity
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        [DataMember]
        public string RoleID { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        [DataMember]
        public string RoleName { get; set; }

        /// <summary>
        /// 规则组
        /// </summary>
        [DataMember]
        public List<RuleInfo> RuleInfos { get; set; }
    }
}
